package cn.daniellee.plugin.rs.storage;

import cn.daniellee.plugin.rs.model.PlayerData;

import java.sql.Connection;

public abstract class Storage {

	public abstract boolean initialize();

	public abstract Connection getConnection();

	public abstract PlayerData getPlayerData(String name, String shop);

	public abstract void savePlayerData(PlayerData playerData);

	public abstract void deletePlayerData(String name, String shop);

	public abstract void close();
}
